#pragma once



const int
ITEM_SEPARATOR      =     0,
ITEM_LOOKUP =             1,
ITEM_ADDTOLIST =          2,
ITEM_PRINT =              3,
ITEM_SELECTALL =          4,
ITEM_COPYVERSES =         5,
ITEM_DISPLAYSETTINGS =    6,
ITEM_ZOOMTEXT =           7,
ITEM_SPLITDISPLAY =       8,
ITEM_PREVIOUSCHAPTER  =   9,
ITEM_SELECTVERSION  =     10,
ITEM_NEXTCHAPTER  =      11, 
ITEM_INFO  =             12,
ITEM_SAVE  =             13,
ITEM_SYNCH  =            14,
ITEM_CUT  =              15,
ITEM_COPY  =             16,
ITEM_PASTE  =            17,
ITEM_BOLD  =             18,
ITEM_ITALIC  =           19,
ITEM_UNDERLINE  =        20,
ITEM_LEFTALIGN  =        21,
ITEM_CENTERALIGN  =      22,
ITEM_RIGHTALIGN  =       23,
ITEM_BULLETS  =          24,
ITEM_SEARCH  =           25,
ITEM_PREVIOUS  =         26,
ITEM_NEXT  =             27,
ITEM_PREVIOUSENTRY  =    28,
ITEM_NEXTENTRY  =        29,
ITEM_CROSSLINKSMGR  =    30,
ITEM_PREVIOUSVERSE  =    31,
ITEM_FILE  =             32,
ITEM_INSTALLMGR  =       33,
ITEM_EXIT  =             34,
ITEM_OPTIONS =           35, 
ITEM_REMEMBER  =         36,
ITEM_DDONSTARTUP  =      37,
ITEM_CROSSREF  =         38,
ITEM_FOOTNOTES  =        39,
ITEM_HEADINGS  =         40,
ITEM_LEMMA  =            41,
ITEM_MORPHTAGS  =        42,
ITEM_WOC  =              43,
ITEM_VIEW  =             44,
ITEM_TOOLBAR  =          45,
ITEM_QVTOOLBAR  =        46,
ITEM_STATUSBAR  =        47,
ITEM_BIBLEMAX  =         48,
ITEM_COMMAX  =           49,
ITEM_NORMAL  =           50,
ITEM_DEVOTIONAL  =       51,
ITEM_VERSELIST  =        52,
ITEM_SCRIPCHALLENGE  =   53,
ITEM_BOOKMARKS  =        54,
ITEM_ADDBOOKMARKS  =     55,
ITEM_REMOVEBOOKMARKS  =  56,
ITEM_HELP  =             57,
ITEM_HELPLAUNCH  =       58,
ITEM_VISITHOMEPAGE  =    59,
ITEM_PRAYERREQUEST  =    60,
ITEM_ABOUTSB  =          61,
ITEM_PRINTLIST  =        62,
ITEM_EDIT  =             63,
ITEM_ADDLIST  =          64,
ITEM_RENAMELIST  =       65,
ITEM_DELETELIST  =       66,
ITEM_ADDVERSE  =         67,
ITEM_DELETEVERSE  =      68,
ITEM_MOVE  =             69,
ITEM_NEXTLIST  =         70,
ITEM_PREVIOUSLIST  =     71,
ITEM_BIBLE  =            72,
ITEM_NEXTVERSE =         73,
ITEM_WORDSEARCH =        74,
ITEM_MAIL       =        75,
ITEM_DONATE    =         76,

// property page tabs
ITEM_BIBLEPAGE    =      77,
ITEM_COMPAREPAGE  =      78,
ITEM_PARALLELPAGE =      79,
ITEM_NOTESPAGE   =       80,
ITEM_COMPAGE    =        81,
ITEM_BOOKSPAGE   =       82,
ITEM_LEXPAGE     =       83,
ITEM_SCRIPREFPAGE =      84,
ITEM_DEVOTIONPAGE =      85,
ITEM_DAILYBIBLEPAGE =    86,

// dialog titles
ITEM_VERSELISTHEADING = 87,
ITEM_CROSSLINKSHEADING = 88,
ITEM_DEVOTIONHEADING = 89,
ITEM_SCRIPCHALLENGEHEADING = 90,


// messages to the user
ITEM_RESTARTMSG = 91,



// navigation menu - books of the bible
ITEM_GENESIS          =133,
ITEM_EXODUS           =134,
ITEM_LEVITICUS        =135,
ITEM_NUMBERS          =136,
ITEM_DEUTERONOMY      =137,
ITEM_JOSHUA           =138,
ITEM_JUDGES           =139,
ITEM_RUTH             =140,
ITEM_ISAMUEL          =141,
ITEM_IISAMUEL         =142,
ITEM_IKINGS           =143,
ITEM_IIKINGS          =144,
ITEM_ICHRONICLES      =145,
ITEM_IICHRONICLES     =146,
ITEM_EZRA             =147,
ITEM_NEHEMIAH         =148,
ITEM_ESTHER           =149,
ITEM_JOB              =150,
ITEM_PSALMS           =151,
ITEM_PROVERBS         =152,
ITEM_ECCLESIASTES     =153,
ITEM_SONGOFSOLOMON    =154,
ITEM_ISAIAH           =155,
ITEM_JEREMIAH         =156,
ITEM_LAMENTATIONS     =157,
ITEM_EZEKIEL          =158,
ITEM_DANIEL           =159,
ITEM_HOSEA            =160,
ITEM_JOEL             =161,
ITEM_AMOS             =162,
ITEM_OBADIAH          =163,
ITEM_JONAH            =164,
ITEM_MICAH            =165,
ITEM_NAHUM            =166,
ITEM_HABAKKUK         =167,
ITEM_ZEPHANIAH        =168,
ITEM_HAGGAI           =169,
ITEM_ZECHARIAH        =170,
ITEM_MALACHI          =171,
ITEM_MATTHEW          =172,
ITEM_MARK             =173,
ITEM_LUKE             =174,
ITEM_JOHN             =175,
ITEM_ACTS             =176,
ITEM_ROMANS           =177,
ITEM_ICORINTHIANS     =178,
ITEM_IICORINTHIANS    =179,
ITEM_GALATIANS        =180,
ITEM_EPHESIANS        =181,
ITEM_PHILIPPIANS      =182,
ITEM_COLOSSIANS       =183,
ITEM_ITHESSALONIANS   =184,
ITEM_IITHESSALONIANS  =185,
ITEM_ITIMOTHY         =186,
ITEM_IITIMOTHY        =187,
ITEM_TITUS            =188,
ITEM_PHILEMON         =189,
ITEM_HEBREWS          =190,
ITEM_JAMES            =191,
ITEM_IPETER           =192,
ITEM_IIPETER          =193,
ITEM_IJOHN            =194,
ITEM_IIJOHN           =195,
ITEM_IIIJOHN          =196,
ITEM_JUDE             =197,
ITEM_REVELATION       =198
// end of navigation menu - books of the bible
;


struct MAP {
	int resID;
	int mapID;
  int bmpresID;
};

struct RESOURCE {
	CString resStr;
  CString menuStr;
	CString tipStr;
};

const int BIBLE_RMB_MENUITEMS = 18;
const int COMPARE_RMB_MENUITEMS = 12;
const int PARALLEL_RMB_MENUITEMS = 9;

const int NOTES_RMB_MENUITEMS = 22;
const int COM_RMB_MENUITEMS = 19;
const int BOOKS_RMB_MENUITEMS = 15;

const int DICTIONARY_RMB_MENUITEMS = 12;
const int REFERENCES_RMB_MENUITEMS = 6;

const int VL_RMB_MENUITEMS = 12;

const int FILE_NUM_MENUITEMS = 4;
const int OPTIONS_NUM_MENUITEMS = 12;
const int VIEW_NUM_MENUITEMS   = 12;
const int BOOKMARKS_NUM_MENUITEMS = 4;
const int HELP_NUM_MENUITEMS = 6;


const int MAX_RESOURCES = 200;

class SBLocalize
{

public:
	static MAP BibleMenu[BIBLE_RMB_MENUITEMS];
  static MAP CompareMenu[COMPARE_RMB_MENUITEMS];
  static MAP ParallelMenu[PARALLEL_RMB_MENUITEMS];

	static MAP NotesMenu[NOTES_RMB_MENUITEMS];
	static MAP ComMenu[COM_RMB_MENUITEMS];
  static MAP BooksMenu[BOOKS_RMB_MENUITEMS];

  static MAP ReferencesMenu[REFERENCES_RMB_MENUITEMS];
  static MAP DictionaryMenu[DICTIONARY_RMB_MENUITEMS];

  static MAP VLMenu[VL_RMB_MENUITEMS];

  static MAP MainFrameFileMenu[FILE_NUM_MENUITEMS];
  static MAP MainFrameOptionsMenu[OPTIONS_NUM_MENUITEMS];
  static MAP MainFrameViewMenu[VIEW_NUM_MENUITEMS];
  static MAP MainFrameBookmarksMenu[BOOKMARKS_NUM_MENUITEMS];
  static MAP MainFrameHelpMenu[HELP_NUM_MENUITEMS];

	static RESOURCE ResourceSet[MAX_RESOURCES];

	static void LoadLanguage(CString lang);

  static void LoadEnglish();
	SBLocalize(void);
	~SBLocalize(void);

private:
	static void Add(int i, CString str1, CString str2, CString str3);
  static void CreateEnglishFile();
};
